﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MultipleSearchAcc.aspx.cs" Inherits="admin_MultipleSearchAcc" MasterPageFile="~/admin/MasterPage2.master" %>

<asp:Content ID="Content1" runat="server"     contentplaceholderid="ContentPlaceHolder1">

<table cellpadding="0" cellspacing="0" class="letraAzul" width="1100px"
                 <tr>
        <td class="letrabold" bgcolor="#9AC9F8">&nbsp;Multiple Search Accounting</td>
    </tr>
    <tr>
        <td bgcolor="#ffffff">
                        <asp:Panel ID="Panel3" runat="server">
                            
                            <table border="0" cellpadding="0" cellspacing="4" width="100%">
                                <tr>
                                    <td valign="top">&nbsp;</td>
                                    <td align="left" width="590px">
                                        &nbsp;</td>
                                    <td valign="top">&nbsp;</td>
                                    <td valign="top">
                                        &nbsp;</td>
                                    <td align="right" valign="top">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        &nbsp;</td>
                                    <td align="left" width="590px">
                                       <asp:LinkButton ID="lnk_add_check" runat="server" CssClass="button2_ok" 
                                            ForeColor="White" ><span>Add Check</span></asp:LinkButton>
                                        <asp:LinkButton ID="lnk_add_deposit" runat="server" CssClass="button2_ok" 
                                            ForeColor="White"><span>Add Deposit</span></asp:LinkButton>
                                        <asp:LinkButton ID="lnk_add_bank" runat="server" CssClass="button2_ok" 
                                            ForeColor="White" onclick="lnk_add_bank_Click"><span>Add Bank</span></asp:LinkButton>
                                    </td>
                                    <td valign="top">
                                        &nbsp;</td>
                                    <td valign="top">
                                        &nbsp;</td>
                                    <td align="right" valign="top">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        &nbsp;</td>
                                    <td align="left" width="590px">
                                        &nbsp;</td>
                                    <td valign="top">
                                        &nbsp;</td>
                                    <td valign="top">
                                        &nbsp;</td>
                                    <td align="right" valign="top">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        Order #:</td>
                                    <td align="left" width="590px">
                                        &nbsp;&nbsp;&nbsp;
                                        <asp:TextBox ID="tb_orders" runat="server" Height="132px" TextMode="MultiLine" 
                                            Width="490px"></asp:TextBox>
                                            <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                    ControlToValidate="tb_orders" 
                    ErrorMessage="Error, only order # separated with &quot;,&quot; without space" 
                    SetFocusOnError="True" 
                    ValidationExpression="((\d)*([a-z]|[A-Z]|[-])*(\d)*(,)*)+"></asp:RegularExpressionValidator>

                                    </td>
                                    
                                    <td valign="top">
                                        Completed:</td>
                                    <td valign="top">
                                        <asp:DropDownList ID="cb_msubmitted" runat="server" Height="20px" Width="170px">
                                            <asp:ListItem>All</asp:ListItem>
                                            <asp:ListItem>No</asp:ListItem>
                                            <asp:ListItem>Yes</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                    <td align="right" valign="top">
                                        <asp:LinkButton ID="lnk_search" runat="server" CssClass="button2_ok" 
                                            ForeColor="White" onclick="lnk_search_Click"><span>Search</span></asp:LinkButton>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        &nbsp;</td>
                                    <td align="left" width="590px">
                                        &nbsp;</td>
                                    <td valign="top">
                                        &nbsp;</td>
                                    <td valign="top">
                                        &nbsp;</td>
                                    <td align="right" valign="top">
                                        &nbsp; </td>
                                </tr>
                            </table>
                        </asp:Panel>
        </td>
    </tr>
                <tr><td bgcolor="White"> &nbsp;</td></tr>
                    <tr>
                    <td bgcolor="White" align="center">
                        <table align="center">
                            <tr valign="top">
                                <td align="center" style="text-align: left">
                                    <asp:CheckBox ID="CheckBox1" runat="server" 
                                        oncheckedchanged="CheckBox1_CheckedChanged" style="text-align: left" 
                                        Text="All" AutoPostBack="True" />
                                    <br />
                        <asp:GridView ID="gv_multiple" runat="server" GridLines="None" 
                            onrowdatabound="gv_multiple_RowDataBound" ShowFooter="True" 
                                        AutoGenerateColumns="False" >
                        <Columns >
                                <asp:TemplateField>
                                    <ItemTemplate>
                                         <asp:CheckBox  ID="CHBX1" runat="server" TextAlign="Left" />
                                         
                                         <asp:HyperLink ID="HyperLink1"  runat="server"  Width="80px"  NavigateUrl='<%#"~/admin/ODetils.aspx?id=" + Eval("orderid") %>' ><%# Eval("Order #")%></asp:HyperLink>
                                         <asp:Label ID= "lbClient" runat="server" Text= '<%# Eval("Client")%>' TextAlign="Left" Width="80px"/>
                                        <asp:Label ID="lb_order" runat="server" Text= '<%# Eval("orderid")%>' TextAlign="Left" Width="10px" Visible="false" />
                                         <asp:Label ID= "lbcompany" runat="server" Text='<%# Eval("Company")%>'  Width="80px" TextAlign="Left" />
                                          <asp:Label ID= "lbacc" runat="server" Text='<%# Eval("Account")%>' Width="80px"  />
                                          <asp:Label ID= "ltype" runat="server" Text='<%# Eval("Type")%>'  Width="50px" />
                                           <asp:Label ID= "lbaddress" runat="server" Text='<%# Eval("Street")%>' Width="50px"  />
                                             <asp:Label ID= "Label2" runat="server" Text='<%# Eval("Street Address")%>'  Width="100px" />
                                            <asp:TextBox ID= "tbx_fee" runat="server" Text='<%# Eval("fee")%>' Width="50px" />
                                              <asp:TextBox ID= "isPaid" runat="server" Text='<%# Eval("Paid")%>' Width="50px" />
                                           <asp:Image ID= "image" runat="server"  ImageUrl='../img/checkdone.png'/>
                                            <asp:Label ID= "Label1" runat="server" Text='<%# Eval("PaidDate")%>'  Width="100px" />

                                    </ItemTemplate>
                                </asp:TemplateField >
                                
                                
                            </Columns>
                            <HeaderStyle BackColor="#9AC9F8"  ForeColor="#3270B2" 
                                CssClass="letraAzul" />
                            <EditRowStyle 
                                Font-Underline="True" BorderStyle="None" BorderWidth="0px" />
                            <AlternatingRowStyle BackColor="#E7F1FE" 
                                BorderStyle="None" />
                        </asp:GridView>
                                </td>
                                <td>
                                    <table width="250" >
                                        <tr>
                                            <td align="left">
                                                &nbsp;</td>
                                            <td>
                                                &nbsp;</td>
                                        </tr>
                                        <tr>
                                            <td align="left">
                                                &nbsp;</td>
                                            <td>
                                                &nbsp;</td>
                                        </tr>
                                    </table>
                                    <table align="center">
                                        <tr align="center">
                                            <td align="center">
                                                <asp:LinkButton ID="lnk_Assign" runat="server" CssClass="button2_ok" ForeColor="White" Enabled="False" onclick="lnk_Assign_Click"><span>Payment</span></asp:LinkButton>
                                                <asp:Label ID="lb_mensaje" runat="server" CssClass="letraAzul" Text="Label" Visible="False"></asp:Label>
                                                <br />
                                                <asp:Label ID="lb_error" runat="server" CssClass="letraRojaValidacion" Text="Label" Visible="False"></asp:Label>
                                            </td>
                                        </tr>
                                    </table>
                                    
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                        </table>
                        </td>
                </tr>
                    <tr>
                    <td bgcolor="White" align="center">
                        &nbsp;</td>
                </tr>
                    <tr>
                    <td bgcolor="White">
                        &nbsp;</td>
                </tr>
</table>
</asp:Content>


<asp:Content ID="Content2" runat="server" contentplaceholderid="head">
    </asp:Content>



